package com.c.ctgproject.entity.storage

import java.io.Serializable

/**
 *作者:LiBW
 *创建日期: 2020/9/15
 *描述:仓储 物料出库
 */
class StorageMaterialOutEntity : Serializable {
    /**
     * status : 0
     * msg : null
     * data : {"total":2,"list":[{"materialId":28,"materialSalesOrderId":5,"materialSalesNo":"WL20090002","auditTime":"2020-09-11 16:08:11","materialName":"发动机三级","createBy":1429,"materialInventoryWeight":70.97,"materialInventoryNumber":3,"planSalesNumber":1,"planSalesWeight":2,"remark":"备注","userName":"收车业务员"},{"materialId":28,"materialSalesOrderId":7,"materialSalesNo":"WL20090004","auditTime":"2020-09-12 10:20:59","materialName":"发动机三级","createBy":1430,"materialInventoryWeight":70.97,"materialInventoryNumber":3,"planSalesNumber":1,"planSalesWeight":2,"remark":"很大一个","userName":"多角色"}],"pageNum":1,"pageSize":5,"size":2,"startRow":1,"endRow":2,"pages":1,"prePage":0,"nextPage":0,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1],"navigateFirstPage":1,"navigateLastPage":1}
     * success : true
     */
    var status = 0
    var msg: Any? = null
    var data: DataBean? = null
    var isSuccess = false

    class DataBean :Serializable{
        /**
         * total : 2
         * list : [{"materialId":28,"materialSalesOrderId":5,"materialSalesNo":"WL20090002","auditTime":"2020-09-11 16:08:11","materialName":"发动机三级","createBy":1429,"materialInventoryWeight":70.97,"materialInventoryNumber":3,"planSalesNumber":1,"planSalesWeight":2,"remark":"备注","userName":"收车业务员"},{"materialId":28,"materialSalesOrderId":7,"materialSalesNo":"WL20090004","auditTime":"2020-09-12 10:20:59","materialName":"发动机三级","createBy":1430,"materialInventoryWeight":70.97,"materialInventoryNumber":3,"planSalesNumber":1,"planSalesWeight":2,"remark":"很大一个","userName":"多角色"}]
         * pageNum : 1
         * pageSize : 5
         * size : 2
         * startRow : 1
         * endRow : 2
         * pages : 1
         * prePage : 0
         * nextPage : 0
         * isFirstPage : true
         * isLastPage : true
         * hasPreviousPage : false
         * hasNextPage : false
         * navigatePages : 8
         * navigatepageNums : [1]
         * navigateFirstPage : 1
         * navigateLastPage : 1
         */
        var total = 0
        var pageNum = 0
        var pageSize = 0
        var size = 0
        var startRow = 0
        var endRow = 0
        var pages = 0
        var prePage = 0
        var nextPage = 0
        var isIsFirstPage = false
            private set
        var isIsLastPage = false
            private set
        var isHasPreviousPage = false
        var isHasNextPage = false
        var navigatePages = 0
        var navigateFirstPage = 0
        var navigateLastPage = 0
        var list: List<ListBean>? = null
        var navigatepageNums: List<Int>? = null

        fun setIsFirstPage(isFirstPage: Boolean) {
            isIsFirstPage = isFirstPage
        }

        fun setIsLastPage(isLastPage: Boolean) {
            isIsLastPage = isLastPage
        }

        class ListBean :Serializable{
            /**
             * materialId : 28
             * materialSalesOrderId : 5
             * materialSalesNo : WL20090002
             * auditTime : 2020-09-11 16:08:11
             * materialName : 发动机三级
             * createBy : 1429
             * materialInventoryWeight : 70.97
             * materialInventoryNumber : 3
             * planSalesNumber : 1
             * planSalesWeight : 2.0
             * remark : 备注
             * userName : 收车业务员
             */
            var materialId = 0
            var materialSalesOrderId = 0
            var materialSalesNo: String? = null
            var auditTime: String? = null
            var materialName: String? = null
            var createBy = 0
            var materialInventoryWeight = 0.0
            var materialInventoryNumber = 0
            var planSalesNumber = 0
            var planSalesWeight = 0.0
            var remark: String? = null
            var userName: String? = null
        }
    }
}